Well, everyone's been wanting a copy of SunOS's kern_exec.c code so that they could do neat things with turning off SUID scripts, here it is. The only thing I ask is that someone make the required changes to do this (preferably in a way so that they are settable in adb) and post those changes. This is from the SunOS 4.1.3 sources. (CUT HERE) /* @(#)kern_exec.c 1.1 92/07/30 SMI; from UCB 7.1 86/06/05 */ /* * Copyright (c) 1989 by Sun Microsystems, Inc. */ [ Copyrighted SunOS source code deleted by archive maintainer at the request of Mark Graff <Mark.Graff@Corp.Sun.COM> ] ------------------------------------------------------------------------- To find out more about the anon service, send mail to help@anon.penet.fi. Due to the double-blind, any mail replies to this message will be anonymized, and an anonymous id will be allocated automatically. You have been warned. Please report any problems, inappropriate use etc. to admin@anon.penet.fi.